<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:th = "http://www.thymeleaf.org" lang="zh">
<head>
    <meta charset="UTF-8">
    <title>大学介绍</title>
    <script src="/config/serverInfo.js"></script>
    <script src="/js/jquery-3.6.0.js"></script>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <link rel="stylesheet" href="../../css/universityIntro.css">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">
            业问-专业解惑
        </div>
        <ul class="layui-nav layui-layout-left">
            <!-- 移动端显示 -->
            <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
                <i class="layui-icon layui-icon-spread-left"></i>
            </li>
            <li class="layui-nav-item layui-hide-xs"><a th:href="@{'../pages/home?id='+${id}}">主页</a></li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="../../images/userPhoto.jpg" class="layui-nav-img">
                    <span id="uID" th:text="${id}">admin</span>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="../logout">注销</a></dd>
                </dl>
            </li>

            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>
    <div class="content">
        <fieldset class="layui-elem-field layui-field-title ">
            <legend style=" padding-top: 30px;font-size: 24px;">
                    <span th:text="${school}">
                        汕头大学
                    </span>
<!--                <i class="layui-icon layui-icon-right layui-font-24"></i>-->
            </legend>
        </fieldset>
        <div id="searchGuidersBox">
            <input type="text" class="layui-input">
            <button id="searchGuidersBtn" class="layui-btn layui-btn-normal" onclick="searchByMajor()">搜索</button>
            <a href="javascript:;" id="fresh" class="layui-icon layui-icon-refresh layui-font-24" onclick="searchByMajor()"></a>
        </div>
        <div id="guidersBox">
            <table id="guiders" lay-data="{id:'guiders'}"></table>
        </div>

        <div class="proRankBox layui-panel">
            <p>汕头大学实时热度专业排行</p>
            <ul>
                <li>1.金融学</li>
                <li>2.国际贸易</li>
                <li>3.视觉传达设计</li>
                <li>4.法学</li>
                <li>5.工商管理</li>
                <li>6.汉语言文学</li>
            </ul>
        </div>
    </div>
    <div class="layui-footer" style="margin-left: -195px;">
        <div>
                <span>
                    <a href="javascript:;">关于我们</a>
                </span>
            <span>
                    <a href="javascript:;">版权公告</a>
                </span>
        </div>
    </div>
</div>
<script src="/layui/layui.js"></script>
<script src="/js/universityIntro.js" type="module"></script>
</body>
</html>